<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span {
            width: 100px;
            height: 100px;
            background-color: red;
            /* 
            display:值;
            可选值:
            inline 行级元素的默认值 逐个摆放
            block  块级元素的默认值，独占一行 前后换行
            none  元素隐藏不占位置
            inline-block 既有行级元素特点又有块级元素特点 又能逐个摆放还能设置高和宽
            */
            display: block;

        }

        div {
            width: 100px;
            height: 100px;
            background-color: yellow;
            /* display: none; */
            /* display: inline-block; */

            /* 匀速隐藏和显示 与 display none的区别是不占据位置
            hidden  隐藏
            visible 显示
            */
            visibility: visible;
        }
    </style>
</head>

<body>
    <span>span</span>
    <div>div</div>
    <div>div</div>
    <div>div</div>
    <div>div</div>
    888
</body>

</html>